package com.bdilab.iot.consts;

/**
 * @author WangNing
 * @version 1.0
 * @date 2020/7/31 15:08
 * 项目全部常量
 */
public class Constants {
    /**
     * api基本路径
     */
    public static final String BASE_API_PATH = "/api/v3";

    /**
     * 当前用户
     */
    public static final String CURRENT_USER = "CURRENT_USER";

    /**
     * Token 前缀
     */
    public static final String TOKEN_PREFIX = "Bearer";

    /**
     * Token header名称
     */
    public static final String TOKEN_HEADER_STRING = "Authorization";

    /**
     * Token 用户名
     */
    public static final String TOKEN_USER_NAME = "token_user_name";

    /**
     * Token 密码
     */
    public static final String TOKEN_USER_PASSWORD = "token_user_password";

    /**
     * Token 创建时间
     */
    public static final String TOKEN_CREATE_TIME = "token_create_time";

    /**
     * 密码规范
     */
    public static final String REG_USER_PASSWORD = ".{6,20}";

    public static final String EMPTY = "";

}
